<?php

    Class TestController extends AppController
    {
        public $Layout="other_layout";

        public function test($params)
        {
            public $Layout="default";
            //echo "Testing Lang: " . $this->Lang->msg('site_name') . "<br>";
            //echo "Incluyendo un elemento: <br>";
            //$this->Element('base');
            $this->set('PageTitle','Title for test view');

            //$salida = $this->SQL->query("SELECT * FROM test");

            //print_r($salida);


            print_r($params); //Para los parametros recibidos por url

            $this->set('variablename','Valor de la variable definida con un $this->set();');
        }
    }

?>